﻿@using Webdiyer.WebControls.Mvc
@model PagedList<VipSoft.CMS.Core.Entity.Article>
@{
    var i = 1;
}
@foreach (var item in Model)
{
    <li>
        <a href="/Article/Content/@ViewBag.CId/@item.ID" title=" @item.Title "> <img src="@item.FileName" style="width: 300px; height: 190px" border="0" />
            <h3 style="overflow: hidden;height: 32px">@item.Title</h3></a><a href="/Article/Content/@ViewBag.CId/@item.ID" title="@item.Title">
            <div style="overflow: hidden;height: 132px">@item.Summary</div> 
        </a>
    </li>
    if (i == 3 || i == @Model.Count)
    {
        <div style="clear:both"></div>
    }
    i++;
}